<?php
return [
    'components' => [
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'sqlsrv:Server=192.168.0.108;Database=FIMEX_Produccion',
            'username'=>'sa',
            'password'=>'Fimex123',
            'charset' => 'utf8',
        ],
        /*'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'sqlsrv:Server=192.168.0.101;Database=FIMEX_Produccion',
            'username'=>'avilla',
            'password'=>'1234@',
            'charset' => 'utf8',
        ],*/
        'db_mysql_servidor' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=servidor;dbname=duxsis',
            'username'=>'avilla',
            'password'=>'1234@',
            'charset' => 'utf8',
        ],
        'db_mysql_servidor1' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=servidor1;dbname=duxs_interface',
            'username'=>'avilla',
            'password'=>'1234@',
            'charset' => 'utf8',
        ],
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'viewPath' => '@common/mail',
            'transport' => [
                'class' => 'Swift_SmtpTransport',
                'host' => '208.43.130.129',
                'username' => 'idesantiago',
                'password' => 'santiago',
                'port' => '333',
            ],
            // send all mails to a file by default. You have to set
            // 'useFileTransport' to false and configure a transport
            // for the mailer to send real emails.
            'useFileTransport' => true,
        ],
    ],
];
